﻿<include file="public:header" />
<script type="text/javascript" src="/static/js/web/chen.js"></script>
<script type="text/javascript" src="/static/js/KindEditor/editorbuild.js"></script>
<h1><img src="/static/images/icons/posts.png" alt="" />下载添加</h1>
<div class="bloc">
<form id="lg-form" method="post" action="/?g=admin&m=down&a=save">
    <div class="title">请输入下载信息</div>
    <div class="content">
        <div class="input">
            <label for="input1">标题</label>
            <input type="text" id="input1" name="title" />
            &nbsp;&nbsp;&nbsp;标题用于人为分类及显示作用
        </div>
		<div class="input">
            <label>所属类型</label>
			<select name="cid" id="tableaction">
				<record type="sql" sqlstr="$S_csql" name="crs" close="2">
                <option value='{$crs("id")}'>{$crs("name")}</option>
				</record>
            </select>
        </div>
		<div class="input">
            <label for="filepath">下载链接</label>
			<input type="text" id="filepath" name="filepath" style="width:600px;"/>
        </div>
		上传文件后，会自动生成下载路径，站外路径请直接输入<br/>
		<iframe id="UploadFiles" src="/?g=admin&m=common&a=upfile&tid=1" frameborder="0" scrolling="no" width="600px" height="25px"></iframe>
		<div class="input textarea">
            <label for="textarea1">内容</label>
            <textarea name="content" id="textarea1" rows="30" cols="4"></textarea>
        </div>
		<div class="input">
            <label for="input3">排序</label>
            <input type="text" id="input3" name="px" style="width:30px;" />
        </div>
        <div class="submit" style="padding-left:150px;">
			<input type="hidden" name="action" value="add" />
            <input type="submit" value="提交" />
            <input type="reset" value="重录" class="black"/>
            <input type="reset" value="后退" class="white" onclick="history.go(-1);"/>
        </div>
    </div>
</form>
</div>
<script type="text/javascript">EDbuildById('textarea1');</script>
<include file="public:footer" />